package com.lovo.service;

import com.github.pagehelper.PageInfo;
import com.lovo.bean.User;

import java.util.List;

public interface UserService {
    PageInfo<User> getUsers(int PageNo , int limit);

    boolean addUser(User user);

    boolean updateUser(User user);

    boolean deleteUser(int parseInt);

    PageInfo<User> queryUser(String type, String content, int parseInt, int parseInt1);

    User login(String userName, String userPwd);

    User getUserById(int userId);
}
